ASP.NET MVC Controls
HtmlAttribute Method

The key of the HTML attribute
The value of the HTML attribute
Sets one HTML attribute.
Syntax
'Declaration
 
Public Function HtmlAttribute( _
   ByVal key As String, _
   ByVal value As String _
) As TControlBuilder
public TControlBuilder HtmlAttribute( 
   string key,
   string value
)

Parameters

key
The key of the HTML attribute
value
The value of the HTML attribute

Return Value

Current builder
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

ControlBuilder<TControl,TControlBuilder> Class
ControlBuilder<TControl,TControlBuilder> Members

 

 


Copyright (c) GrapeCity, inc. All rights reserved.

Product Support Forum |  Documentation Feedback